<template>
  <div id="header">
    <div class="group-name">
      <img src="@/assets/logo/chixu.png" class="logo" alt="驰旭集团">
      <span class="title">驰旭集团</span>
    </div>
    <div class="company-name small-title">上次登录时间：2019年5月4日23:07:48</div>
    <span class="username">李小明</span>
  </div>
</template>

<script>
export default {
}
</script>

<style>
  #header {
    overflow: hidden;
    background: linear-gradient(to right top, #2c578a 0,#ffffff 100%);
    position: relative;
  }
  .username {
    position: absolute;
    right: 12px;
    top: 7px;
    font-size: 0.7rem;
    color: #fdfdfd;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background: rgb(9, 148, 232);
    border-radius: 25px;
    font-weight: bold;
  }
  .group-name {
    height: 40px;
  }
  .small-title {
    font-size: 0.625rem;
    color: #f3f3f3;
    padding-left: 15px;
    line-height: 24px;
  }
  .title {
    color: rgb(11, 70, 127);
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 4px 2px 5px #e1e1e1;
    line-height: 50px;
  }
  .logo {
    width: 25px;
    margin-left: 15px;
    vertical-align: text-bottom;
  }
</style>
